package com.fc.tms.service;

import java.util.List;

import com.fc.tms.constant.UserType;
import com.fc.tms.entity.User;
import com.fc.tms.filter.UserFilter;

public interface UserService {

    List<User> find(UserFilter filter);

    void saveOrUpdate(User user);

    User get(Long tId);

    void delete(Long tId);

    boolean isExist(String geteName);

    User getByeName(String geteName);

    Long insertNotExists(String name, UserType userType);

    Integer dimission(String eName);
}
